package map;

import com.google.common.collect.BiMap;
import com.google.common.collect.HashBiMap;
import org.junit.Test;

public class UseBiMap {

    @Test
    public void test01(){
        BiMap<String, String> bi = HashBiMap.create();
        bi.put("张三", "85");
        bi.put("李四", "99");
        System.out.println(bi.get("张三"));
        System.out.println(bi.inverse().get("99"));
    }


}
